package com.fushenlan.epidemicControl.dto;


import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@ApiModel("紧急救助")
public class EmergencyDTO {


    private String userName;
    @ApiModelProperty("申请记录id")
    private Long id;

    @ApiModelProperty("申请人ID")
    private String userId;

    @ApiModelProperty("申请时间")
    private LocalDateTime createTime;

    @ApiModelProperty("求助类型1  买药 2 看病  3 生活用品")
    private int type;

    @ApiModelProperty("求助内容")
    private String content;

    @ApiModelProperty("附件")
    private String attachment;

    @ApiModelProperty("状态 1 未处理  2 处理中   3 处理完成")
    private int state;

    @ApiModelProperty("处理结果")
    private String result;

    @ApiModelProperty("处理人")
    private String dealId;

    @ApiModelProperty("紧急度  1 紧急   2 较急 3 一般")
    private int level;

    @ApiModelProperty("处理时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime dealTime;
}
